WP_Defender\Component\Smart_Ip_Detection S

Total Complexity 29
Dependencies 4
Dependents 3
Total lines 255
Lines of code 135
Logical lines of code 67
Comment lines 43
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
get_smart_ip_detection_details()
A
50 9 29
smart_ip_detect_header()
A
44 6 48
smart_ip_detection_ping()
S
50 5 29
get_server_public_ip()
S
61 4 13
get_namespace()
S
79 1 3
get_route()
S
80 1 3
is_smart_ip_detection_enabled()
S
75 1 4
remove_header()
S
80 1 3
get_nonce_context()
S
79 1 3